home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / Plug-in - DistanceProxyGroup / color.3dmf next >
Encoding:
Text File  |  1997-08-14  |  553 b   |  35 lines  |  [TEXT/CWIE]

  1. 3DMetafile ( 1 0 Normal tableofcontents0> )
  2.     BeginGroup (
  3.             Apple Computer Inc.:Display Group:DistanceProxyDisplayGroup (
  4.                 0 0 0 # reference point
  5.                 0 # flag
  6.                 # Distance Pair
  7.                 3 # Count
  8.                 1 10
  9.                 1 15
  10.                 0 0
  11.             )
  12.         )
  13.     
  14.         # Submit Red Color
  15.         Container (
  16.             AttributeSet ( )
  17.             DiffuseColor ( 1.0 0.0 0.0 )
  18.         )
  19.         
  20.         # Submit Green Color
  21.         Container (
  22.             AttributeSet ( )
  23.             DiffuseColor ( 0.0 1.0 0.0 )
  24.         )
  25.  
  26.         # Always Draw Box
  27.         Box (
  28.             0 1 0 # orientation
  29.             0 0 1 # majorAxis
  30.             1 0 0 # minorAxis
  31.             0 0 0 # origin
  32.         )
  33.     
  34.  
  35.     EndGroup ()